package com.changzhi.common.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;

public enum LangEnum implements IEnum<String> {


    ZH_CN("CN", "zh_CN"),

    ZH_TW("TW", "zh_TW"),

    ZH_HK("HK", "zh_HK"),

    EN_US("US", "en_US"),

    ;

    private String country;
    private String lang;

    LangEnum(final String country, final String lang) {
        this.country = country;
        this.lang = lang;
    }

    @Override
    public String getValue() {
        return this.country;
    }

    public String getLang() {
        return this.lang;
    }

}
